package com.baiyang.app.ui.bookshelf;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

public class BookshelfViewModel extends ViewModel {

    private MutableLiveData<JSONObject> followListResult;

    public BookshelfViewModel() {
        this.followListResult = new MutableLiveData<>();
    }

    public void setFollowListResult(JSONObject result){
        this.followListResult.postValue(result);
    }

    public LiveData<JSONObject> getFollowListResult(){
        return followListResult;
    }

}